import {Api} from "@/common/api";
import {requestMethod} from "@/common/request";
import {reactive, ref} from "@vue/reactivity";

export const l1DeviceInfoT = reactive({
  stat: {
    icon: "",
    title: "高清摄像头",
    value: 0,
    // unit: "个",
  },
  wrap: [
    {
      title: "在线数量",
      value: 0,
      key: "jkzx",
    },
    {
      title: "离线数量",
      value: 0,
      key: "jkgb",
    },
    {
      title: "损坏数量",
      value: 0,
      key: "jksh",
    },
  ],
})

export const l1DeviceInfoB = reactive({
  stat: {
    icon: "",
    title: "考勤设备",
    value: 0,
    // unit: "个",
  },
  wrap: [
    {
      title: "在线数量",
      value: 0,
      key: "mjzx",
    },
    {
      title: "离线数量",
      value: 0,
      key: "mjgb",
    },
    {
      title: "损坏数量",
      value: 0,
      key: "mjsh",
    },
  ],
})

export const l3ColumnData = [
  {
    name: "XM",
    title: "姓名",
  },
  {
    name: "phone",
    title: "联系方式",
  },
  {
    name: "fzfw",
    title: "负责区域",
  },
];

export const r1ColumnData = [
  {
    name: "cameraName",
    title: "告警设备",
    flex:5
  },
  {
    name: "name",
    title: "告警类型",
    flex:4
  },
  {
    name: "sj",
    title: "告警时间",
    flex:5
  },
]
export const R1Data = [
  {
    XM:'监控S1-园区西北角',
    phone:'翻墙进入行为',
    fzfw:'2023-09-15 10:00:00'
  },
  {
    XM:'监控S1-园区西北角',
    phone:'翻墙进入行为',
    fzfw:'2023-09-15 10:00:00'
  },
  {
    XM:'监控S1-园区西北角',
    phone:'翻墙进入行为',
    fzfw:'2023-09-15 10:00:00'
  },
  {
    XM:'监控S1-园区西北角',
    phone:'翻墙进入行为',
    fzfw:'2023-09-15 10:00:00'
  },
  {
    XM:'监控S1-园区西北角',
    phone:'翻墙进入行为',
    fzfw:'2023-09-15 10:00:00'
  },
  {
    XM:'监控S1-园区西北角',
    phone:'翻墙进入行为',
    fzfw:'2023-09-15 10:00:00'
  },
  {
    XM:'监控S1-园区西北角',
    phone:'翻墙进入行为',
    fzfw:'2023-09-15 10:00:00'
  },
  {
    XM:'监控S1-园区西北角',
    phone:'翻墙进入行为',
    fzfw:'2023-09-15 10:00:00'
  },
  {
    XM:'监控S1-园区西北角',
    phone:'翻墙进入行为',
    fzfw:'2023-09-15 10:00:00'
  },
  {
    XM:'监控S1-园区西北角',
    phone:'翻墙进入行为',
    fzfw:'2023-09-15 10:00:00'
  },
  {
    XM:'监控S1-园区西北角',
    phone:'翻墙进入行为',
    fzfw:'2023-09-15 10:00:00'
  },
  {
    XM:'监控S1-园区西北角',
    phone:'翻墙进入行为',
    fzfw:'2023-09-15 10:00:00'
  },
  {
    XM:'监控S1-园区西北角',
    phone:'翻墙进入行为',
    fzfw:'2023-09-15 10:00:00'
  },
]

export const r2ImageList = [
  {
    title: `画面123`,
    info1: 'info1',
    info2: 'info2',
    date: '画面123',
    image: "https://img0.baidu.com/it/u=3945126777,2549444928&fm=253&fmt=auto&app=138&f=JPEG?w=755&h=500",
  }
]
